<include file="application/walletyhbbadmin/view/public/left.html"/>
<div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>修改友情链接</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="{:U('Link/index')}" class="actionBtn">浏览友情链接</a>友情链接管理</h3>
    <form action="{:U('Link/updateLink')}" method="post" enctype="multipart/form-data">
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
            <tr>
                <td width="90" align="right">友情链接名称：</td>
        <td>
        <input type="text" id="title" name="link_name" value="{$info.link_name}" size="80" class="inpMain" />
         <input  name="link_id"  value="{$info.link_id}" type="hidden">
       </td>
       </td>
      </tr>
         <tr>
             <td width="90" align="right">友情链接链接：</td>
             <td>
                 <input type="text" id="title" name="link_url" value="{$info.link_url}" size="80" class="inpMain" />
                 <input  name="link_id"  value="{$info.link_id}" type="hidden"></td>
             </td>
         </tr>
         <tr>
             <td width="90" align="right">友情链接图片：</td>
             <td><img src="{$info.link_logo}" width="300px" height="200px">
                 <input type="file" id="title" name="link_logo" value="{$info.link_logo}" />
                 <input  name="link_id"  value="{$info.link_id}" type="hidden"></td>
             </td>
         </tr>

      <tr>
        <td width="90" align="right">显示：</td>
        <td>
          <input type="radio" value="1" name="is_show" id="0" <if condition= "$info.enabled eq 1">checked="checked"</if>/>是
      <input type="radio" value="0" name="is_show" id="1"  <if condition= "$info.enabled eq 0">checked="checked"</if>/>否
        </td>
      </tr>

      <tr>
       <td>
        <input name="submit" class="btn" type="submit" value="提交" />
       </td>
      </tr>
     </table>
    </form>
       </div>
 </div>
 <div class="clear"></div>
<include file="application/walletyhbbadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
<script type="text/javascript">
    onload = function()
    {
        document.forms['action'].reset();
    }

    function douAction()
    {
        var frm = document.forms['action'];
        frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
    }
</script>
</body>
</html>